import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/pp/user/list',
    method: 'get',
    params
  })
}

export function statusSwitch(userId) {
  return request({
    url: '/pp/user/status/switch',
    method: 'post',
    data: { userId }
  })
}
